package com.clstu.extends_.exercise;

public class Computer {
    private String cpu;
    private int memeroy;
    private int disk;

    public Computer(String cpu, int memeroy, int disk) {
        this.cpu = cpu;
        this.memeroy = memeroy;
        this.disk = disk;
    }

    public String getCpu() {
        return cpu;
    }

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }

    public int getMemeroy() {
        return memeroy;
    }

    public void setMemeroy(int memeroy) {
        this.memeroy = memeroy;
    }

    public int getDisk() {
        return disk;
    }

    public void setDisk(int disk) {
        this.disk = disk;
    }

    public String getInfo(){
        return "cpu: "+cpu+" memeroy: "+memeroy+" disk: "+disk;
    }
}
